import request from '@/utils/request'

export function apiConfigCompanyLists(params?: any) {
    return request.get({ url: '/finance.company/index', params })
}
export function apiConfigCompanyGetAll(params?: any) {
    return request.get({ url: '/finance.company/getAll', params })
}
export function apiConfigCompanyAdd(params?: any) {
    return request.post({ url: '/finance.company/add', params })
}
export function apiConfigCompanyEdit(params?: any) {
    return request.post({ url: '/finance.company/edit', params })
}
export function apiConfigCompanyDelete(params?: any) {
    return request.post({ url: '/finance.company/delete', params })
}
export function apiConfigAccountLists(params?: any) {
    return request.get({ url: '/finance.account/index', params })
}
export function apiConfigAccountGetAll(params?: any) {
    return request.get({ url: '/finance.account/getAll', params })
}

export function apiConfigAccountAdd(params?: any) {
    return request.post({ url: '/finance.account/add', params })
}
export function apiConfigAccountEdit(params?: any) {
    return request.post({ url: '/finance.account/edit', params })
}
export function apiConfigAccountDelete(params?: any) {
    return request.post({ url: '/finance.account/delete', params })
}
export function apiConfigCateGetAll(params?: any) {
    return request.get({ url: '/finance.cate/getAll', params })
}
export function apiConfigCateTwoGetAll(params?: any) {
    return request.get({ url: '/finance.cateTwo/getAll', params })
}
export function apiConfigCateGetTree(params?: any) {
    return request.get({ url: '/finance.cateTwo/getTree', params })
}
export function apiConfigCateAdd(params?: any) {
    return request.post({ url: '/finance.cate/add', params })
}
export function apiConfigCateTwoAdd(params?: any) {
    return request.post({ url: '/finance.cateTwo/add', params })
}
export function apiConfigCateEdit(params?: any) {
    return request.post({ url: '/finance.cate/edit', params })
}
export function apiConfigCateTwoEdit(params?: any) {
    return request.post({ url: '/finance.cateTwo/edit', params })
}
export function apiConfigCateDelete(params?: any) {
    return request.post({ url: '/finance.cate/delete', params })
}
export function apiConfigCateTwoDelete(params?: any) {
    return request.post({ url: '/finance.cateTwo/delete', params })
}
export function apiConfigCateTwoGettype(params?: any) {
    return request.get({ url: '/finance.cateTwo/getType', params })
}
export function apiConfigDeptGetAll(params?: any) {
    return request.get({ url: '/finance.dept/getAll', params })
}
export function apiConfigDeptTwoGetAll(params?: any) {
    return request.get({ url: '/finance.deptTwo/getAll', params })
}
export function apiConfigDeptAdd(params?: any) {
    return request.post({ url: '/finance.dept/add', params })
}
export function apiConfigDeptEdit(params?: any) {
    return request.post({ url: '/finance.dept/edit', params })
}
export function apiConfigDeptDelete(params?: any) {
    return request.post({ url: '/finance.dept/delete', params })
}

export function apiConfigDeptTwoAdd(params?: any) {
    return request.post({ url: '/finance.deptTwo/add', params })
}
export function apiConfigDeptTwoEdit(params?: any) {
    return request.post({ url: '/finance.deptTwo/edit', params })
}
export function apiConfigDeptTwoDelete(params?: any) {
    return request.post({ url: '/finance.deptTwo/delete', params })
}
export function apiConfigDeptTwoGetTree(params?: any) {
    return request.get({ url: '/finance.deptTwo/getTree', params })
}
export function apiConfigDeptTwoGetTreeAll(params?: any) {
    return request.get({ url: '/finance.deptTwo/getTreeAll', params })
}
export function apiConfigCateTwoGetTreeAll(params?: any) {
    return request.get({ url: '/finance.cateTwo/getTreeAll', params })
}
export function apiConfigDeptTwoGetByCate(params?: any) {
    return request.get({ url: '/finance.deptTwo/getByCate', params })
}
